package com.tfjybj.itoo.exam.template;

import com.tfjybj.itoo.exam.model.ExaminationModel;
import com.tfjybj.itoo.exam.model.RoomModel;
import com.tfjybj.itoo.exam.model.StaffModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.util.ArrayList;
import java.util.List;

@ApiModel(value = "json字符串翻译")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamRoomStuTeaModel {
    /**
     * 考生数组
     */
    @ApiModelProperty(value = "studentArray")
    @Column(name = "studentArray")
    private List<ScreenClassStu> studentArray = new ArrayList<>();

    /**
     * 考场数组
     */
    @ApiModelProperty(value = "roomArray")
    @Column(name = "roomArray")
    private List<RoomModel> roomArray = new ArrayList<>();

    /**
     * 监考老师数组
     */
    @ApiModelProperty(value = "teacherArray")
    @Column(name = "teacherArray")
    private List<StaffModel> teacherArray = new ArrayList<>();

    /**
     * 创建考试信息
     */
    @ApiModelProperty(value = "createExam")
    @Column(name = "createExam")
    private ExaminationModel createExam=new ExaminationModel();
}
